package com.atguigu.gulimallflow.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import utils.PageUtils;
import utils.Query;

import com.atguigu.gulimallflow.dao.ActReDeploymentDao;
import com.atguigu.gulimallflow.entity.ActReDeploymentEntity;
import com.atguigu.gulimallflow.service.ActReDeploymentService;


@Service("actReDeploymentService")
public class ActReDeploymentServiceImpl extends ServiceImpl<ActReDeploymentDao, ActReDeploymentEntity> implements ActReDeploymentService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ActReDeploymentEntity> page = this.page(
                new Query<ActReDeploymentEntity>().getPage(params),
                new QueryWrapper<ActReDeploymentEntity>()
        );

        return new PageUtils(page);
    }

}
